<?php
namespace app\admin\model;
use think\Model;
class Role extends Model
{
	public function getRoleStatusAttr($v)
	{
		$status = ['1'=>'已启用','2'=>'已停用'];
		return $status[$v];
	}
}
